﻿using SqlSugar;

namespace Shop.Model.Entity.Hea;

/// <summary>
/// 用户测评
/// </summary>
[SugarTable("use_hea_evaluation_log")]
public class HealthEvaluationLog:BaseEntity
{
    /// <summary>
    /// 分类
    /// 1：入门级问答
    /// 2：专业问答
    /// </summary>
    public int Classify { get; set; }

    /// <summary>
    /// 用户
    /// </summary>
    public long User { get; set; }

    /// <summary>
    /// 评测时间
    /// </summary>
    [SugarColumn(IsOnlyIgnoreInsert = true)]
    public DateTime EvaluationTime { get; set; }

    /// <summary>
    /// 评测时间
    /// </summary>
    public DateTime? SubmitTime { get; set; }

    /// <summary>
    /// 报告生成时间
    /// </summary>
    public DateTime? ReportTime { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string Sex { get; set; }

    /// <summary>
    /// 年龄
    /// </summary>
    public int Age { get; set; }

    /// <summary>
    /// Bmi得分
    /// </summary>
    public decimal Bmi { get; set; }

    /// <summary>
    /// Bmr得分
    /// </summary>
    public decimal Bmr { get; set; }

    /// <summary>
    /// 总评测得分
    /// </summary>
    public int TotalPoints { get; set; }
}